package com.zx.idc.backend.gui.api.management.basicdata.query;

import com.zx.idc.backend.gui.api.commom.entity.CommandModel;
import com.zx.idc.ds.slog.vo.SlogAbnormalIpVo;
import com.zx.idc.xml.entity.idcinfomanage.IdcInfoManage;

import java.util.List;

/**
 * 基础数据管理服务类
 *
 * @author rxliuli
 */
public interface IdcBasicDataQueryService {
    /**
     * 根据指令查询基础数据
     *
     * @param idcInfoManage 基础数据查询指令
     * @param commandModel
     */
    void commandQuery(IdcInfoManage idcInfoManage, CommandModel commandModel);

    /**
     * 基础数据检测异常记录上报
     *
     * @param idcInfoManage 封装了监测指令的查询类, ISMS主动上报的时候
     * @return
     */
    void uploadQueryAbnormalBaseData(IdcInfoManage idcInfoManage);

    /**
     * 手动上报非法ip
     * @param abnormalIpList
     */
    void uploadAbnormalIpForManual(List<SlogAbnormalIpVo> abnormalIpList);

}
